runtime.gcCPULimiterState.bucket (field)
15 uses
runtime (current package)
mgclimit.go#L51: bucket struct {
mgclimit.go#L267: headroom := l.bucket.capacity - l.bucket.fill
mgclimit.go#L280: l.bucket.fill = l.bucket.capacity
mgclimit.go#L289: if change < 0 && l.bucket.fill <= uint64(-change) {
mgclimit.go#L291: l.bucket.fill = 0
mgclimit.go#L294: l.bucket.fill -= uint64(-change)
mgclimit.go#L331: l.bucket.capacity = uint64(nprocs) * capacityPerProc
mgclimit.go#L332: if l.bucket.fill > l.bucket.capacity {
mgclimit.go#L333: l.bucket.fill = l.bucket.capacity
mgclimit.go#L336: } else if l.bucket.fill < l.bucket.capacity {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |